/**
 * 
 */
package pl.lodz.p.browarex.service;

import java.io.Serializable;
import java.util.List;

public interface GenericService<T, K  extends Serializable> {

	public void upsert(T object);
	
	public void delete(T object);
	
	public T find(K id);
	
	public List<T> findByGuid(String guid);
	
	public List<T> findByProperty(String property, Object value);
	
	public List<T> list();
	
}
